<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="../../resources/common/page/sessionovertime.jsp"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title>登录日志</title>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0"/>
	<script type="text/javascript" src="loginlog.js"></script>
  	<style type="text/css">
  	.loginlogTable{border-collapse: collapse;border: none;text-align: center;color: #04468D;}
	.loginlogTd{border: solid #04468D 1px;background-color: #F3F5F9;}
  	</style>
  </head>
  <body class="easyui-layout">
  	<div id="toolbar" style="height:auto;">
  		<table style="line-height:80px;">
		  	<tr align="left">
		  		<td width="100" align="right">工号:</td>
		  		<td width="100" align="left"><input class="easyui-textbox" id="workNumber" data-options="prompt:'模糊查询'"/></td>
		  		<td width="100" align="right">用户名:</td>
		  		<td width="100" align="left"><input class="easyui-textbox" id="userName" data-options="prompt:'模糊查询'"/></td>
		  		<td width="100" align="right">真实姓名:</td>
		  		<td width="100" align="left"><input class="easyui-textbox" id="realName" data-options="prompt:'模糊查询'"/></td>
		  		<td width="100" align="right">登录时间:</td>
		  		<td width="100" align="left"><input class="easyui-datebox" id="startDate" data-options="prompt:'开始日期'"/></td>
		  		<td>-</td>
		  		<td width="100" align="left"><input class="easyui-datebox" id="endDate" data-options="prompt:'结束日期'"/></td>
		  	</tr>
		</table>
	    <div style="margin-left: -2px;margin-right: -2px;" class="toolbuttonbg"> 
	        <a href="javaScript:reload();" name="login_log_refresh" style="float:left;" class="easyui-linkbutton" iconCls="icon-reload" plain="true">刷新</a>
	        <div class="datagrid-btn-separator"></div>
	        <a href="javascript:query();" name="login_log_query" name="user.query" class="easyui-linkbutton" iconCls="icon-search" plain="true">查询</a>
	    </div>
	</div>  
    <!-- 表格 -->
  	<table id="dataGridTable" fit="true"  pagination="true" rownumbers="true" toolbar="#toolbar" singleSelect="true" fitColumns="false" striped="true" url="sys/queryLoginlog.action" data-options="onDblClickRow:loginlogFrameMod"></table>
  		
	<div id="loginlogFrame" iconCls="icon-save" style="padding: 10px; width: 700px; height: 300px; ">
		<div class="easyui-layout" fit="true" >
		  	<div>
	  		    <table width="100%" cellpadding="5" cellspacing="0" class="loginlogTable">
		          	<tr class="loginlogTr"><td class="loginlogTd" colspan="4" style="background-color: #CFD9E7"><b>日&emsp;志&emsp;信&emsp;息</b></td></tr>
		          	<tr class="loginlogTr">
		          		<td class="loginlogTd">工号</td>
		          		<td class="loginlogTd" id="details_workNumber" style="color: black;"></td>
		          		<td class="loginlogTd" >登录名</td>
		          		<td class="loginlogTd" id="details_userName" style="color: black;"></td>
		          	</tr>
		          	<tr class="loginlogTr">
		          		<td class="loginlogTd">真实姓名</td>
		          		<td class="loginlogTd" id="details_realName" style="color: black;"></td>
		          		<td class="loginlogTd" >登录IP</td>
		          		<td class="loginlogTd" id="details_loginIp" style="color: black;"></td>
		          	</tr>
		        	<tr class="loginlogTr">
		          		<td class="loginlogTd">类型</td>
		          		<td class="loginlogTd"  style="color: black;"><img src='' id="details_loginType"/></td>
		          		<td class="loginlogTd" >操作</td>
		          		<td class="loginlogTd" id="details_loginResult" style="color: black;"></td>
		          	</tr>
		          	<tr class="loginlogTr">
		          		<td class="loginlogTd">登录时间</td>
		          		<td class="loginlogTd" id="details_loginTime" style="color: black;"></td>
		          		<td class="loginlogTd" >在线时长</td>
		          		<td class="loginlogTd" id="details_onlineTime" style="color: black;"></td>
		          	</tr>
		         	<tr class="loginlogTr">
		          		<td class="loginlogTd">记录建立时间</td>
		          		<td colspan="3" class="loginlogTd" id="details_createTime" style="color: black;"></td>
		          	</tr>
		       		<tr class="loginlogTr">
		       			<td class="loginlogTd">浏览器类型</td>
		          		<td class="loginlogTd" colspan="3" id="details_browserMessage" style="color: black;"></td>
		          	</tr>
		        </table>
			</div>
		</div>
	</div>
  </body>
</html>
<%@ include file="../../resources/common/page/button.jsp"%>